package se.webbzon.oschi01.worldcamera;

import java.awt.image.ImageObserver;

import javax.media.j3d.BranchGroup;

import se.webbzon.oschi01.worldarea.WorldAppearance3D;

public interface WorldView extends ImageObserver {
	
	// The available properties of the WorldView
	public static final int	TRANSPARENCY	= (1<<0);
	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** Renders the background of the provided world appearance in the view. **/
	public void preRender(WorldAppearance3D world);
	
	/** Renders the foreground of the provided world appearance in the view. **/
	public void postRender(WorldAppearance3D world);
	
	/** Sets a symbiosis for this host. **/
	public boolean setSymbiosis(WorldViewSymbiosis symb);
	
	/** Returns the WorldCamera associated with this WorldView. **/
	public WorldCamera getCamera();

	/** Returns the WorldCameraHud associated with this WorldView. **/
	public WorldCameraPane getCameraHud();
	
	/** Returns the WorldCameraBackground associated with this WorldView. **/
	public WorldCameraPane getCameraBackground();
	
}
